<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="./animate.css">
</head>
<body>
    <div id="skyscrapper">
        <!-- .box#box$*3       -->
        <div class="box" id="box1"></div>
        <div class="box" id="box2"></div>
        <div class="box" id="box3"></div>
        <div class="box" id="box4"></div>
    </div>
    <script src="gasp.min.js"></script>
    <script src="animate.js"></script>
        <!-- 假如这个动画别的地方也要封装就行 -->

    <script>
        // 第四个元素 跟第二个元素一样动
        //box.html有四个  a.html没有
        var skyObj = {
            leftAnimated: ['#box1','#box3'],
            RightAnimated: ['#box2','#box4']
        }
        new Animation(skyObj)
    </script>
</body>
</html>